]> dgit.raspbian.org Git - gnome-shell.git/commit
grabHelper: Restore the actually saved focus on ungrab
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 9 Feb 2013 22:05:43 +0000 (23:05 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 14 Feb 2013 18:17:32 +0000 (19:17 +0100)
commit60257f422a5a35cee2adbcbc0d94738bc2e2fb9d
tree01a557d54bba5b7807bcd306b63b4430dbe4fed8
parent6576d4852c4ef41b59fe79c46888cc6fbb440f2c
grabHelper: Restore the actually saved focus on ungrab

GrabHelper saves the actor that had key focus when taking over the grab
(if any). On ungrab, the key focus is either restored or moved to some
child of the saved actor. The latter is unexpected and causes some odd
behavior, so don't be fancy and only restore the actual focus.

https://bugzilla.gnome.org/show_bug.cgi?id=693570
js/ui/grabHelper.js